package com.liyongjian.xhban.dal;

import java.util.List;

import org.springframework.data.repository.PagingAndSortingRepository;

import com.liyongjian.xhban.model.GroupMember;
import com.liyongjian.xhban.model.emumm.LiveDieState;

public interface GroupMemberRepository extends PagingAndSortingRepository<GroupMember, Long> {

    List<GroupMember> findByGroupIdAndState(Long groupId, LiveDieState state);

}
